//
//  MKItemObject.h
//  YangDongXi
//
//  Created by cocoa on 15/4/16.
//  Copyright (c) 2015年 cocoa. All rights reserved.
//

#import "MKBaseItemObject.h"
#import "MKSKUPropertyObject.h"
#import "MKItemImageObject.h"
#import "MKItemBrandObject.h"
#import "MKItemSKUObject.h"
#import "MKItemPropertyObject.h"
#import "MKItemInFoextraObject.h"
#import "MKServiceTypeListObject.h"
#import "MKShopInfoObject.h"
#import "MKHigoExtraInfoObject.h"

typedef NS_ENUM(NSInteger, MKItemStatus)
{
    MKItemStatusPending = 1,
    MKItemStatusAuditThrough = 2,
    MKItemStatusAuditNotThrough = 3,
    MKItemStatusSaling = 4,
    MKItemStatusOffShelf = 5,
    MKItemStatusFrozen = 6,
    MKItemStatusSale = 7
    
};


@interface MKItemObject : MKBaseItemObject

/**
 @brief 商品附图列表，主图也在其中，主图为第一张图片
 @discussion MKItemImageObject数组
 */
@property (nonatomic, strong) NSArray *itemImages;

@property (nonatomic, strong) MKItemBrandObject *itemBrand;

/**
 @brief 商品sku列表
 @discussion MKItemSKUObject数组
 */
@property (nonatomic, strong) NSArray *itemSkus;

/**
 @brief 商品sku属性
 @discussion MKSKUPropertyObject数组
 */
@property (nonatomic, strong) NSArray *skuProperties;

/**
 @brief 商品属性
 @discussion MKItemPropertyObject数组
 */
@property (nonatomic, strong) NSArray *itemProperties;
@property (nonatomic, strong) NSArray *accountDiscountInfo;

/**
 @brief 业务属性
 @discussion MKBizPropertyObject数组
 */
@property (nonatomic, strong) NSArray *bizProperties;

@property (nonatomic, assign) NSInteger minSale;

@property (nonatomic, assign) NSInteger maxSale;
//@property (nonatomic,strong)NSString * itemType;
@property (assign,nonatomic) NSInteger limitBuyCount;
@property (copy,nonatomic)NSArray *acc;
@property (nonatomic, assign) MKItemStatus status;
@property (nonatomic,strong)MKItemInFoextraObject *itemExtraInfo;

@property (nonatomic,strong)NSString *fristskuId;
@property (nonatomic,strong)NSString *fuwuqitime;
/**
 @brief 商品门店id
 */
@property (nonatomic,assign)NSInteger sellerId;

/**
 @brief 店铺相关信息
 */
@property (nonatomic,strong)MKShopInfoObject *shopInfo;
/**
 @brief 增值服务
 */
@property (nonatomic,strong)NSMutableArray * serviceTypeList;

//跨境标志，1代表该商品为跨境商品，0代表该商品为非跨境商品
@property (nonatomic,assign)NSInteger  higoMark;

//跨境扩展信息
@property (nonatomic,strong)MKHigoExtraInfoObject *higoExtraInfo;

+ (NSString *)stringWithStatus:(MKItemStatus)status;

@end
